package com.whut.gkd.service;

import com.whut.gkd.bean.ApplyGood;
import com.whut.gkd.bean.PageInfo;

import java.util.List;

public interface IApplyGoodService {
    PageInfo<ApplyGood> findAllApplyGood(int shopId, int currentPage, String goodName);

    void addApplyGood(ApplyGood applyGood);

    void deleteApplyGoodByApplyId(int applyId);

    ApplyGood findApplyGoodByApplyId(int applyId);

    void modifyApplyGood(ApplyGood applyGood);

    void deleteAllApplyGood(List<Integer> ids);

    PageInfo<ApplyGood> findAll(int currentPage,String shopName);

    void allowgoodByapplyId(int applyId);

    //    int getTotalCount(@Param("applicant_id")String applicant_id);
    void deleteByapplyId(int applyId);

}
